package service.impl;

import dao.WordCountDao;
import dao.impl.WordCountDaoImpl;
import pojo.Wordcount;
import service.WordCountService;

import java.sql.SQLException;
import java.util.List;

public class WordCountServiceImpl implements WordCountService {

    private WordCountDao admin = new WordCountDaoImpl();

    @Override
    public List<Wordcount> getALl() throws SQLException {
        return admin.getAll();
    }
}
